package com.fusetech.flow.audit.service.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fusetech.os.core.query.Query;
import com.fusetech.os.core.query.QueryType;
import com.fusetech.os.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 审核节点对应发起角色表DTO
 * @author Liuwq
 * @version 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AuditNodeAuditorRoleUserDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	        
	/**
     * 节点
     */
	@NotNull(message="节点不能为空")
    @Query(type = QueryType.EQ)
	@ExcelProperty("节点")
	private String auditNode;
	        
	/**
     * 发起角色
     */
	@NotNull(message="发起角色不能为空")
    @Query(type = QueryType.EQ)
	@ExcelProperty("发起角色") 
	private String auditorRoleUser;

}
